|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.analysis.ParetoTest
public class ParetoTest
This class can be used to test if the implementation of the Pareto frontier algorithm in BidSpace returns the correct results on each domain. The efficient algorithm is compared against a simple bruteforce algorithm. No effort was made to optimize the bruteforce algorithm as I wanted to be sure that it is correct. Therefore, it is not advised to check domains with more than 200.000 bids.
| Constructor Summary | |
|---|---|
ParetoTest()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static void |
process(java.lang.String dir)
Simple method to compare if the algorithm for calculating the Pareto-bids in the BidSpace class returns the right results. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParetoTest()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - are ignored.
java.lang.Exception - may occur if there are problems reading files.
public static void process(java.lang.String dir)
throws java.lang.Exception
dir - in which Genius is installed
java.lang.Exception - when an error occurs on parsing the files.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||